/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import com.jeeplus.modules.infor.entity.Project;
import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 承运商Entity
 * @author 李超辉
 * @version 2017-11-23
 */
public class Carrier extends DataEntity<Carrier> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目
	private String name;		// 承运商名称
	private String person;		// 承运商联系人
	private String phone;		// 联系人电话
	private String address;		// 承运商地址
	private String bank;		// 开户银行
	private String account;		// 收款账号
	private String payee;		// 收款人
	private String oil_card;		// 固定油卡
	private String region;		// 发运区域
	private List<CarrierPrice> carrierPriceList = Lists.newArrayList();		// 子表列表
	
	public Carrier() {
		super();
	}

	public Carrier(String id){
		super(id);
	}

	@ExcelField(title="项目", fieldType=Project.class, value="", align=2, sort=1)
	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="承运商名称", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="承运商联系人", align=2, sort=3)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="联系人电话", align=2, sort=4)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@ExcelField(title="承运商地址", align=2, sort=5)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@ExcelField(title="开户银行", align=2, sort=6)
	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}
	
	@ExcelField(title="收款账号", align=2, sort=7)
	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}
	
	@ExcelField(title="收款人", align=2, sort=8)
	public String getPayee() {
		return payee;
	}

	public void setPayee(String payee) {
		this.payee = payee;
	}
	
	@ExcelField(title="固定油卡", align=2, sort=9)
	public String getOil_card() {
		return oil_card;
	}

	public void setOil_card(String oil_card) {
		this.oil_card = oil_card;
	}
	
	@ExcelField(title="发运区域", align=2, sort=10)
	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}
	
	public List<CarrierPrice> getCarrierPriceList() {
		return carrierPriceList;
	}

	public void setCarrierPriceList(List<CarrierPrice> carrierPriceList) {
		this.carrierPriceList = carrierPriceList;
	}
}